package cate.game.client.msg.id;

import cate.game.client.msg.MsgConfig;
import lombok.experimental.UtilityClass;

import static cate.game.client.msg.id.MsgIdA.POINT_RACE;

@UtilityClass
public class MsgIdBPointRace {
    public static final MsgConfig DATA_REQ = REQ(1, "我的积分赛数据  请求");

    public static final MsgConfig DATA_RESP = RESP(2, "我的积分赛数据  返回");

    public static final MsgConfig RANK_DATA_REQ = REQ(3, "积分赛的排行榜数据  请求");

    public static final MsgConfig RANK_DATA_RESP = RESP(4, "积分赛的排行榜数据  返回");

    public static final MsgConfig OPPONENT_LIST_REQ = REQ(5, "获取挑战对手  请求");

    public static final MsgConfig OPPONENT_LIST_RESP = RESP(6, "获取挑战对手  返回");

    public static final MsgConfig CHALLENGE_REQ = REQ(7, "进行挑战  请求");

    public static final MsgConfig CHALLENGE_RESP = RESP(8, "挑战结果  返回");

    public static final MsgConfig ADMIRE_REQ = REQ(9, "积分赛排行榜点赞  请求");

    public static final MsgConfig ADMIRE_RESP = RESP(10, "排行榜点赞  返回");

    public static final MsgConfig REWARD_REQ = REQ(11, "赛季宝箱领取  请求");

    public static final MsgConfig REWARD_RESP = RESP(12, "赛季宝箱领取  返回");

    public static final MsgConfig MARK_DATA_REQ = REQ(13, "战绩数据  请求");

    public static final MsgConfig MARK_DATA_RESP = RESP(14, "战绩数据  返回");

    public static final MsgConfig BUY_TICKET_REQ = REQ(15, "积分赛购买挑战券  请求");

    public static final MsgConfig BUY_TICKET_RESP = RESP(16, "积分赛购买挑战券  返回");

    public static final MsgConfig RECORD_REQ = REQ(17, "大师风采 请求");

    public static final MsgConfig RECORD_RESP = RESP(18, "大师风采 返回");

    public static final MsgConfig GET_PS_REQ = REQ(19, "对手阵容 请求");

    public static final MsgConfig GET_PS_RESP = RESP(20, "对手阵容 返回");

    public static final MsgConfig LITE_DATA_RESP = RESP(21, "简要数据 返回");

    public static final MsgConfig RANK_QUERY_REQ = REQ(23, "排行榜排名查询 请求");
    public static final MsgConfig RANK_QUERY_RESP = RESP(24, "排行榜排名查询 返回");


    static MsgConfig REQ(int b, String desc) {
        return new MsgConfig(POINT_RACE, b, desc);
    }

    static MsgConfig RESP(int b, String desc) {
        return new MsgConfig(POINT_RACE, b, desc);
    }
}
